package cn.mxh.pethspt.dao;


import cn.mxh.pethspt.entity.Combination;
import cn.mxh.pethspt.entity.Ding;
import cn.mxh.pethspt.entity.JiuZhen;

import java.util.List;

public interface JiuZhenDao {

    /**
     * 添加就诊信息
     * @return
     */
    public int add(JiuZhen jiuZhen) throws Exception;

    /**
     * 修改就诊信息
     * @param jiuzhen
     * @return
     */
    public int update(JiuZhen jiuzhen) throws Exception;


    /**
     * 查询所有就诊信息
     * @return
     * @throws Exception
     */
    public List<JiuZhen> getAll() throws Exception;


    /**
     * 根据就诊id查询主人id
     * @param jid
     * @return
     * @throws Exception
     */
    public JiuZhen getJiuZhenByjid(Integer jid) throws Exception;
}
